package com.bmit.clusterspring.log;

import com.bmit.clusterspring.model.InnerLog;
import com.bmit.clusterspring.service.LogService;

public class SaveInnerLogThread implements Runnable {
    private LogService service;
    private InnerLog innerLog;

    public SaveInnerLogThread(LogService service, InnerLog innerLog) {
        this.service = service;
        this.innerLog = innerLog;
    }

    @Override
    public void run() {
        service.insertILog(this.innerLog);
    }
}
